Dashboard Temp Share Shortlinks Frames API

HTMLify

style.css
Views: 15 | Author: cody
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
body {
  background-color: #fffaea;
}

.contain {
  height: 400px;
  width: 400px;
  left: 50%;
  top: 50%;
  position: absolute;
  transform: translatex(-50%) translatey(-50%);
}
.contain svg {
  vertical-align: top;
  width: 100%;
}
.contain svg .beer {
  -webkit-animation-name: empty;
          animation-name: empty;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
  -webkit-animation-duration: 4s;
          animation-duration: 4s;
  -webkit-animation-timing-function: linear;
          animation-timing-function: linear;
  fill: #F9CF68;
}

@-webkit-keyframes empty {
  0% {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
            clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  }
  30% {
    -webkit-clip-path: polygon(0 16%, 100% 12%, 100% 100%, 0% 100%);
            clip-path: polygon(0 16%, 100% 12%, 100% 100%, 0% 100%);
  }
  50% {
    -webkit-clip-path: polygon(0 40%, 100% 44%, 100% 100%, 0% 100%);
            clip-path: polygon(0 40%, 100% 44%, 100% 100%, 0% 100%);
  }
  70% {
    -webkit-clip-path: polygon(0 69%, 100% 66%, 100% 100%, 0% 100%);
            clip-path: polygon(0 69%, 100% 66%, 100% 100%, 0% 100%);
  }
  100% {
    -webkit-clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%);
            clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%);
  }
}

@keyframes empty {
  0% {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
            clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  }
  30% {
    -webkit-clip-path: polygon(0 16%, 100% 12%, 100% 100%, 0% 100%);
            clip-path: polygon(0 16%, 100% 12%, 100% 100%, 0% 100%);
  }
  50% {
    -webkit-clip-path: polygon(0 40%, 100% 44%, 100% 100%, 0% 100%);
            clip-path: polygon(0 40%, 100% 44%, 100% 100%, 0% 100%);
  }
  70% {
    -webkit-clip-path: polygon(0 69%, 100% 66%, 100% 100%, 0% 100%);
            clip-path: polygon(0 69%, 100% 66%, 100% 100%, 0% 100%);
  }
  100% {
    -webkit-clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%);
            clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%);
  }
}